using System;
using System.ComponentModel;
using System.Drawing;
using System.Runtime.CompilerServices;
using System.Threading;
using System.Windows.Forms;
namespace Easislides
{
	public class FrmLyricsScreen : Form
	{
		public delegate void Message(int MsgCode, string MsgString);
		private bool FormFirstLoad = true;
		private int ScreenFontSize = 22;
		private int MainFontSize = 22;
		private int NotationsFontSize = 22;
		private bool LoadNextItem = false;
		private Thread timerThread;
		public bool WorshipListChanged = false;
		public bool ItemChanged = false;
		public bool LyricsChanged = false;
		public bool NotationsChanged = false;
		public bool LyricsAlertChanged = false;
		public int LyricsFlashCount = 0;
		private bool InitFormLoad = true;
		private string Reg_OutputSplit = "LyricsMonitorSplitOutput";
		private string Reg_NextItemSplit = "LyricsMonitorSplitNextItem";
		private string Reg_AlertSplit = "LyricsMonitorSplitAlert";
		private int LMSplitOutput = 500;
		private int LMSplitNextItem = 500;
		private int LMSplitAlert = 500;
		private IContainer components = null;
		private RichTextBox OutputLyrics;
		private Panel panelTop;
		private Panel panelBottom;
		private SplitContainer splitContainer1;
		private SplitContainer splitContainer2;
		private ListView WorshipListItems;
		private ColumnHeader columnHeader8;
		private ColumnHeader columnHeader9;
		private ColumnHeader columnHeader10;
		private ColumnHeader columnHeader11;
		private ColumnHeader columnHeader12;
		private ColumnHeader columnHeader13;
		private ColumnHeader columnHeader14;
		private RichTextBox PreviewLyrics;
		private Panel panelLeft;
		private Panel panelRight;
		private ImageList imageListSys;
		private RichTextBox LyricsAlertTextBox;
		private SplitContainer splitContainer3;
		private System.Windows.Forms.Timer timerLyricsAlert;
		public event FrmLyricsScreen.Message OnMessage
		{
			[MethodImpl(MethodImplOptions.Synchronized)]
			add
			{
                //this.OnMessage = (FrmLyricsScreen.Message)Delegate.Combine(this.OnMessage, value);
			}
			[MethodImpl(MethodImplOptions.Synchronized)]
			remove
			{
                //this.OnMessage = (FrmLyricsScreen.Message)Delegate.Remove(this.OnMessage, value);
			}
		}
		public FrmLyricsScreen()
		{
			this.InitializeComponent();
		}
		private void FrmLyricsScreen_Load(object sender, EventArgs e)
		{
			this.InitForm();
			this.timerThread = new Thread(new ThreadStart(this.ThreadProc));
			this.timerThread.IsBackground = true;
			this.timerThread.Start();
		}
		private void InitForm()
		{
			this.SetShowWindow();
			gf.LyricsItem.Initialise();
			this.UpdateWorshipList();
		}
		public void ThreadProc()
		{
			try
			{
				MethodInvoker method = new MethodInvoker(this.UpdateProgress);
				while (true)
				{
					base.BeginInvoke(method);
					Thread.Sleep(500);
				}
			}
			catch (ThreadInterruptedException var_1_2A)
			{
			}
			catch (Exception var_2_2F)
			{
			}
		}
		private void UpdateProgress()
		{
			try
			{
				if (this.WorshipListChanged)
				{
					this.WorshipListChanged = false;
					this.UpdateWorshipList();
				}
				else
				{
					if (this.ItemChanged)
					{
						this.ItemChanged = false;
						this.Apply_ItemChanged();
					}
					else
					{
						if (this.LyricsChanged)
						{
							this.LyricsChanged = false;
							this.Apply_LyricsChanged();
						}
						else
						{
							if (this.NotationsChanged)
							{
								this.NotationsChanged = false;
								this.Apply_NotationsChanged();
							}
							else
							{
								if (this.LyricsAlertChanged)
								{
									this.LyricsAlertChanged = false;
									this.Apply_LyricsAlertChanged();
								}
							}
						}
					}
				}
			}
			catch
			{
			}
		}
		private void WorshipListItems_Resize(object sender, EventArgs e)
		{
			this.SetWorshipPraiseListColWidth();
		}
		private void SetWorshipPraiseListColWidth()
		{
			if (this.WorshipListItems.Columns.Count > 0)
			{
				this.WorshipListItems.Columns[0].Width = ((this.WorshipListItems.Width - 25 >= 0) ? (this.WorshipListItems.Width - 25) : 0);
			}
		}
		private void SetShowWindow()
		{
			this.InitFormLoad = true;
			if ((gf.LyricsMonitorNumber > 0 || gf.LMOption > 0) && gf.LMOption != 2)
			{
				base.Left = gf.LM_Left;
				base.Top = gf.LM_Top;
				base.Height = gf.LM_Height;
				base.Width = gf.LM_Width;
				base.Visible = true;
			}
			else
			{
				base.Left = 0;
				base.Top = 0;
				base.Height = 1;
				base.Width = 1;
				base.Visible = false;
			}
			this.splitContainer1.Dock = DockStyle.Fill;
			this.splitContainer2.Dock = DockStyle.Fill;
			this.splitContainer3.Dock = DockStyle.Fill;
			this.PreviewLyrics.Dock = DockStyle.Fill;
			this.OutputLyrics.Dock = DockStyle.Fill;
			this.WorshipListItems.Dock = DockStyle.Fill;
			this.LyricsAlertTextBox.Dock = DockStyle.Fill;
			this.LoadPositions();
			this.WorshipListItems.BackColor = gf.LMBackColour;
			this.PreviewLyrics.BackColor = gf.LMBackColour;
			this.OutputLyrics.BackColor = gf.LMBackColour;
			this.LyricsAlertTextBox.BackColor = gf.LMBackColour;
			this.WorshipListItems.ForeColor = gf.LMTextColour;
			this.PreviewLyrics.ForeColor = gf.LMTextColour;
			this.OutputLyrics.ForeColor = gf.LMTextColour;
			this.WorshipListItems.ForeColor = gf.LMTextColour;
			this.LyricsAlertTextBox.ForeColor = gf.LMHighlightColour;
			this.SetLyricsFonts();
			this.InitFormLoad = false;
		}
		public void SetLyricsFonts()
		{
			this.ScreenFontSize = gf.DisplayFontSize(gf.LMMainFontSize, gf.LM_Width, 1, 1);
			if (this.ScreenFontSize < 2)
			{
				this.ScreenFontSize = 2;
			}
			this.OutputLyrics.Font = new Font(gf.tbLyricsMonitorSpace.Font.Name, (float)this.ScreenFontSize, gf.tbLyricsMonitorSpace.Font.Style);
			this.PreviewLyrics.Font = new Font(gf.tbLyricsMonitorSpace.Font.Name, (float)(this.ScreenFontSize * 2 / 3), gf.tbLyricsMonitorSpace.Font.Style);
			this.WorshipListItems.Font = new Font(gf.tbLyricsMonitorSpace.Font.Name, (float)(this.ScreenFontSize * 2 / 3), gf.tbLyricsMonitorSpace.Font.Style);
			this.LyricsAlertTextBox.Font = new Font(gf.tbLyricsMonitorSpace.Font.Name, (float)(this.ScreenFontSize * 5 / 6), gf.tbLyricsMonitorSpace.Font.Style);
		}
		public void Remote_StopShow()
		{
			base.Hide();
		}
		public void Remote_WorshipListChanged()
		{
			this.WorshipListChanged = true;
		}
		public void Remote_NotationsChanged()
		{
			this.NotationsChanged = true;
		}
		private void Apply_NotationsChanged()
		{
			string text = gf.WorshipSongs[gf.LyricsItem.CurItemNo, 2];
			this.LoadItem(ref gf.LyricsItem, gf.WorshipSongs[gf.LyricsItem.CurItemNo, 0], gf.WorshipSongs[gf.LyricsItem.CurItemNo, 4], ref text);
		}
		public void Remote_ItemChanged()
		{
			this.ItemChanged = true;
		}
		private void Apply_ItemChanged()
		{
			this.OutputLyrics.Text = gf.tbLyricsMonitorSpace.Text;
			this.HighlightStartPresAtItem();
			this.LoadNextItem = true;
			this.Remote_LyricsChanged();
		}
		public void Remote_LyricsChanged()
		{
			this.LyricsChanged = true;
		}
		private void Apply_LyricsChanged()
		{
			gf.HighlightDisplaySlidesText(gf.LiveItem, ref this.OutputLyrics, true, gf.LMTextColour, gf.LMHighlightColour);
			if (this.LoadNextItem)
			{
				this.LoadNextItemLyrics();
			}
		}
		public void Remote_LyricsAlertChanged()
		{
			this.LyricsAlertChanged = true;
		}
		private void Apply_LyricsAlertChanged()
		{
			this.LyricsAlertTextBox.Text = gf.LyricsAlertDetails;
			this.LyricsAlertTextBox.SelectAll();
			this.LyricsAlertTextBox.SelectionAlignment = HorizontalAlignment.Center;
			this.LyricsAlertTextBox.SelectionLength = 0;
			this.timerLyricsAlertReset();
			if (this.LyricsAlertTextBox.Text != "")
			{
				this.timerLyricsAlert.Start();
			}
		}
		private void EnableRemoteUpdate()
		{
			gf.LyricsMonitor_LyricsChanged = true;
		}
		private void UpdateWorshipList()
		{
			this.WorshipListItems.Items.Clear();
			if (gf.TotalWorshipListItems > 0)
			{
				ListViewItem listViewItem = new ListViewItem();
				for (int i = 0; i < gf.TotalWorshipListItems; i++)
				{
					listViewItem = this.WorshipListItems.Items.Add(gf.WorshipSongs[i + 1, 2]);
					string a = gf.WorshipSongs[i + 1, 1];
					if (a == "D")
					{
						listViewItem.ImageIndex = 0;
					}
					else
					{
						if (a == "P")
						{
							listViewItem.ImageIndex = 2;
						}
						else
						{
							if (a == "B")
							{
								listViewItem.ImageIndex = 4;
							}
							else
							{
								if (a == "T")
								{
									listViewItem.ImageIndex = 6;
								}
								else
								{
									if (a == "I")
									{
										listViewItem.ImageIndex = 8;
									}
									else
									{
										if (a == "M")
										{
											listViewItem.ImageIndex = 28;
										}
										else
										{
											if (a == "W")
											{
												listViewItem.ImageIndex = 10;
											}
										}
									}
								}
							}
						}
					}
					listViewItem.SubItems.Add(gf.WorshipSongs[i + 1, 0]);
					listViewItem.SubItems.Add(gf.WorshipSongs[i + 1, 4]);
					listViewItem.SubItems.Add("");
					listViewItem.SubItems.Add("");
					listViewItem.SubItems.Add("");
					listViewItem.SubItems.Add("");
					listViewItem.SubItems.Add("");
				}
				this.HighlightStartPresAtItem();
				this.SetWorshipPraiseListColWidth();
			}
		}
		private void HighlightStartPresAtItem()
		{
			if (gf.StartPresAt > 0 && gf.StartPresAt <= gf.TotalWorshipListItems)
			{
				this.WorshipListItems.Items[gf.StartPresAt - 1].Selected = true;
				this.WorshipListItems.Items[gf.StartPresAt - 1].EnsureVisible();
			}
		}
		private void LoadNextItemLyrics()
		{
			if (gf.StartPresAt > 0)
			{
				int num = (gf.StartPresAt < gf.TotalWorshipListItems - 1) ? (gf.StartPresAt + 1) : gf.TotalWorshipListItems;
				string text = gf.WorshipSongs[num, 2];
				this.LoadItem(ref gf.LyricsItem, gf.WorshipSongs[num, 0], gf.WorshipSongs[num, 4], ref text);
				gf.LyricsItem.CurItemNo = num;
			}
			this.LoadNextItem = false;
		}
		private void LoadItem(ref gf.SongSettings InItem, string InIDString, string InFormatString, ref string InTitle)
		{
			string a = gf.Left(InIDString, 1);
			gf.InitialiseIndividualData(ref InItem);
			InItem.PrevTitle = "";
			InItem.NextTitle = "";
			this.PreviewLyrics.Text = "";
			if (a == "D" || a == "B" || a == "T" || a == "I" || a == "W")
			{
				gf.LoadIndividualData(ref InItem, InIDString, "", 1, ref InTitle);
				if (InItem.Type == "I")
				{
					InFormatString = InItem.Format.FormatString;
				}
				gf.LoadIndividualFormatData(ref InItem, InFormatString);
				gf.FormatText(ref InItem, gf.PanelBackColour, gf.PanelBackColourTransparent, gf.PanelTextColour, gf.PanelTextColourAsRegion1, InItem.UseDefaultFormat);
				gf.FormatDisplayLyrics(ref InItem, true, true);
				gf.DisplaySlidesFormattedLyrics(ref InItem, ref this.PreviewLyrics, true, gf.LMShowNotations);
			}
		}
		private void FrmLyricsScreen_VisibleChanged(object sender, EventArgs e)
		{
			if (base.Visible)
			{
				if (this.FormFirstLoad)
				{
					this.FormFirstLoad = false;
				}
				else
				{
					this.InitForm();
				}
			}
		}
		private void timerLyricsAlert_Tick(object sender, EventArgs e)
		{
			this.LyricsAlertTextBox.ForeColor = ((this.LyricsAlertTextBox.ForeColor == gf.LMHighlightColour) ? gf.LMTextColour : gf.LMHighlightColour);
			this.LyricsAlertTextBox.BackColor = ((this.LyricsAlertTextBox.BackColor == gf.LMBackColour) ? Color.Red : gf.LMBackColour);
			this.LyricsFlashCount++;
			if (this.LyricsFlashCount > 3)
			{
				this.LyricsFlashCount = 0;
				this.timerLyricsAlert.Stop();
			}
		}
		private void timerLyricsAlertReset()
		{
			this.LyricsFlashCount = 0;
			this.timerLyricsAlert.Stop();
			this.LyricsAlertTextBox.ForeColor = gf.LMHighlightColour;
			this.LyricsAlertTextBox.BackColor = gf.LMBackColour;
		}
		private void FrmLyricsScreen_FormClosing(object sender, FormClosingEventArgs e)
		{
		}
		private void LoadPositions()
		{
			this.LMSplitOutput = gf.ObjToInt(gf.GetRegValue("monitors", this.Reg_OutputSplit, 300));
			this.LMSplitOutput = ((this.LMSplitOutput < 1 || this.LMSplitOutput > 1000) ? 300 : this.LMSplitOutput);
			this.LMSplitOutput = this.splitContainer1.Width * this.LMSplitOutput / 1000;
			this.LMSplitOutput = ((this.LMSplitOutput < 30) ? 30 : this.LMSplitOutput);
			this.LMSplitNextItem = gf.ObjToInt(gf.GetRegValue("monitors", this.Reg_NextItemSplit, 350));
			this.LMSplitNextItem = ((this.LMSplitNextItem < 1 || this.LMSplitNextItem > 1000) ? 350 : this.LMSplitNextItem);
			this.LMSplitNextItem = this.splitContainer2.Height * this.LMSplitNextItem / 1000;
			this.LMSplitNextItem = ((this.LMSplitNextItem < 30) ? 30 : this.LMSplitNextItem);
			this.LMSplitAlert = gf.ObjToInt(gf.GetRegValue("monitors", this.Reg_AlertSplit, 600));
			this.LMSplitAlert = ((this.LMSplitAlert < 1 || this.LMSplitAlert > 1000) ? 600 : this.LMSplitAlert);
			this.LMSplitAlert = this.splitContainer3.Height * this.LMSplitAlert / 1000;
			this.LMSplitAlert = ((this.LMSplitAlert < 30) ? 30 : this.LMSplitAlert);
			if (base.Width > 100)
			{
				this.splitContainer1.SplitterDistance = this.LMSplitOutput;
				this.splitContainer3.SplitterDistance = this.LMSplitAlert;
				this.splitContainer2.SplitterDistance = this.LMSplitNextItem;
			}
		}
		private void SavePositions()
		{
			if (!this.InitFormLoad)
			{
				int value = this.splitContainer1.SplitterDistance * 1000 / this.splitContainer1.Width;
				gf.SaveRegValue("monitors", this.Reg_OutputSplit, value);
				value = this.splitContainer2.SplitterDistance * 1000 / this.splitContainer2.Height;
				gf.SaveRegValue("monitors", this.Reg_NextItemSplit, value);
				value = this.splitContainer3.SplitterDistance * 1000 / this.splitContainer3.Height;
				gf.SaveRegValue("monitors", this.Reg_AlertSplit, value);
			}
		}
		private void splitContainer1_SplitterMoved(object sender, SplitterEventArgs e)
		{
			this.SavePositions();
		}
		private void splitContainer2_SplitterMoved(object sender, SplitterEventArgs e)
		{
			this.SavePositions();
		}
		private void splitContainer3_SplitterMoved(object sender, SplitterEventArgs e)
		{
			this.SavePositions();
		}
		protected override void Dispose(bool disposing)
		{
			if (disposing && this.components != null)
			{
				this.components.Dispose();
			}
			base.Dispose(disposing);
		}
		private void InitializeComponent()
		{
			this.components = new Container();
			ComponentResourceManager componentResourceManager = new ComponentResourceManager(typeof(FrmLyricsScreen));
			this.OutputLyrics = new RichTextBox();
			this.panelTop = new Panel();
			this.panelBottom = new Panel();
			this.splitContainer1 = new SplitContainer();
			this.splitContainer2 = new SplitContainer();
			this.WorshipListItems = new ListView();
			this.columnHeader8 = new ColumnHeader();
			this.columnHeader9 = new ColumnHeader();
			this.columnHeader10 = new ColumnHeader();
			this.columnHeader11 = new ColumnHeader();
			this.columnHeader12 = new ColumnHeader();
			this.columnHeader13 = new ColumnHeader();
			this.columnHeader14 = new ColumnHeader();
			this.imageListSys = new ImageList(this.components);
			this.splitContainer3 = new SplitContainer();
			this.PreviewLyrics = new RichTextBox();
			this.LyricsAlertTextBox = new RichTextBox();
			this.panelLeft = new Panel();
			this.panelRight = new Panel();
			this.timerLyricsAlert = new System.Windows.Forms.Timer(this.components);
			this.splitContainer1.Panel1.SuspendLayout();
			this.splitContainer1.Panel2.SuspendLayout();
			this.splitContainer1.SuspendLayout();
			this.splitContainer2.Panel1.SuspendLayout();
			this.splitContainer2.Panel2.SuspendLayout();
			this.splitContainer2.SuspendLayout();
			this.splitContainer3.Panel1.SuspendLayout();
			this.splitContainer3.Panel2.SuspendLayout();
			this.splitContainer3.SuspendLayout();
			base.SuspendLayout();
			this.OutputLyrics.BackColor = SystemColors.Window;
			this.OutputLyrics.Dock = DockStyle.Fill;
			this.OutputLyrics.Location = new Point(0, 0);
			this.OutputLyrics.Name = "OutputLyrics";
			this.OutputLyrics.ReadOnly = true;
			this.OutputLyrics.ShowSelectionMargin = true;
			this.OutputLyrics.Size = new Size(148, 162);
			this.OutputLyrics.TabIndex = 1;
			this.OutputLyrics.Text = "";
			this.panelTop.Dock = DockStyle.Top;
			this.panelTop.Location = new Point(0, 0);
			this.panelTop.Name = "panelTop";
			this.panelTop.Size = new Size(220, 3);
			this.panelTop.TabIndex = 6;
			this.panelBottom.Dock = DockStyle.Bottom;
			this.panelBottom.Location = new Point(0, 165);
			this.panelBottom.Name = "panelBottom";
			this.panelBottom.Size = new Size(220, 3);
			this.panelBottom.TabIndex = 7;
			this.splitContainer1.Dock = DockStyle.Fill;
			this.splitContainer1.Location = new Point(3, 3);
			this.splitContainer1.Name = "splitContainer1";
			this.splitContainer1.Panel1.Controls.Add(this.splitContainer2);
			this.splitContainer1.Panel2.Controls.Add(this.OutputLyrics);
			this.splitContainer1.Size = new Size(214, 162);
			this.splitContainer1.SplitterDistance = 63;
			this.splitContainer1.SplitterWidth = 3;
			this.splitContainer1.TabIndex = 8;
			this.splitContainer1.SplitterMoved += new SplitterEventHandler(this.splitContainer1_SplitterMoved);
			this.splitContainer2.Dock = DockStyle.Fill;
			this.splitContainer2.Location = new Point(0, 0);
			this.splitContainer2.Name = "splitContainer2";
			this.splitContainer2.Orientation = Orientation.Horizontal;
			this.splitContainer2.Panel1.Controls.Add(this.WorshipListItems);
			this.splitContainer2.Panel2.Controls.Add(this.splitContainer3);
			this.splitContainer2.Size = new Size(63, 162);
			this.splitContainer2.SplitterDistance = 45;
			this.splitContainer2.SplitterWidth = 3;
			this.splitContainer2.TabIndex = 9;
			this.splitContainer2.SplitterMoved += new SplitterEventHandler(this.splitContainer2_SplitterMoved);
			this.WorshipListItems.AllowDrop = true;
			this.WorshipListItems.BackColor = SystemColors.Window;
			this.WorshipListItems.Columns.AddRange(new ColumnHeader[]
			{
				this.columnHeader8,
				this.columnHeader9,
				this.columnHeader10,
				this.columnHeader11,
				this.columnHeader12,
				this.columnHeader13,
				this.columnHeader14
			});
			this.WorshipListItems.Dock = DockStyle.Fill;
			this.WorshipListItems.FullRowSelect = true;
			this.WorshipListItems.HeaderStyle = ColumnHeaderStyle.None;
			this.WorshipListItems.HideSelection = false;
			this.WorshipListItems.LabelWrap = false;
			this.WorshipListItems.Location = new Point(0, 0);
			this.WorshipListItems.MultiSelect = false;
			this.WorshipListItems.Name = "WorshipListItems";
			this.WorshipListItems.Size = new Size(63, 45);
			//this.WorshipListItems.SmallImageList = this.imageListSys;
			this.WorshipListItems.TabIndex = 2;
			this.WorshipListItems.UseCompatibleStateImageBehavior = false;
			this.WorshipListItems.View = View.Details;
			this.WorshipListItems.Resize += new EventHandler(this.WorshipListItems_Resize);
			this.columnHeader9.Width = 0;
			this.columnHeader10.Width = 0;
			this.columnHeader11.Width = 0;
			this.columnHeader12.Width = 0;
			this.columnHeader13.Width = 0;
			this.columnHeader14.Width = 0;
            //this.imageListSys.ImageStream = (ImageListStreamer)componentResourceManager.GetObject("imageListSys.ImageStream");
			this.imageListSys.TransparentColor = Color.Transparent;
            //this.imageListSys.Images.SetKeyName(0, "ES Icon 32 Blue.ico");
            //this.imageListSys.Images.SetKeyName(1, "ES Icon 32 Blue - Highlight.ico");
            //this.imageListSys.Images.SetKeyName(2, "PPImg.gif");
            //this.imageListSys.Images.SetKeyName(3, "PPImg - Highlight.gif");
            //this.imageListSys.Images.SetKeyName(4, "Bible.gif");
            //this.imageListSys.Images.SetKeyName(5, "Bible - Hightlight.gif");
            //this.imageListSys.Images.SetKeyName(6, "notebook.gif");
            //this.imageListSys.Images.SetKeyName(7, "notebook-highlight.gif");
            //this.imageListSys.Images.SetKeyName(8, "Info_Sym.gif");
            //this.imageListSys.Images.SetKeyName(9, "Info_Sym highlight.gif");
            //this.imageListSys.Images.SetKeyName(10, "word.gif");
            //this.imageListSys.Images.SetKeyName(11, "word-highlight.gif");
            //this.imageListSys.Images.SetKeyName(12, "singlescreen.gif");
            //this.imageListSys.Images.SetKeyName(13, "dualscreens.gif");
            //this.imageListSys.Images.SetKeyName(14, "keyboard.gif");
            //this.imageListSys.Images.SetKeyName(15, "BlackScreen-Pressed.gif");
            //this.imageListSys.Images.SetKeyName(16, "BlackScreen-Red.gif");
            //this.imageListSys.Images.SetKeyName(17, "BlueScreen-Pressed.gif");
            //this.imageListSys.Images.SetKeyName(18, "BlueScreen-Red.gif");
            //this.imageListSys.Images.SetKeyName(19, "folder.gif");
            //this.imageListSys.Images.SetKeyName(20, "pic-bestfit.gif");
            //this.imageListSys.Images.SetKeyName(21, "Bible.gif");
            //this.imageListSys.Images.SetKeyName(22, "options.gif");
            //this.imageListSys.Images.SetKeyName(23, "Info_Sym.gif");
            //this.imageListSys.Images.SetKeyName(24, "PPImg.gif");
            //this.imageListSys.Images.SetKeyName(25, "Tick.gif");
            //this.imageListSys.Images.SetKeyName(26, "NumNewScreen.gif");
            //this.imageListSys.Images.SetKeyName(27, "ques.gif");
            //this.imageListSys.Images.SetKeyName(28, "Media.gif");
            //this.imageListSys.Images.SetKeyName(29, "Media-highlight.gif");
			this.splitContainer3.Dock = DockStyle.Fill;
			this.splitContainer3.Location = new Point(0, 0);
			this.splitContainer3.Name = "splitContainer3";
			this.splitContainer3.Orientation = Orientation.Horizontal;
			this.splitContainer3.Panel1.Controls.Add(this.PreviewLyrics);
			this.splitContainer3.Panel2.Controls.Add(this.LyricsAlertTextBox);
			this.splitContainer3.Size = new Size(63, 114);
			this.splitContainer3.SplitterDistance = 72;
			this.splitContainer3.SplitterWidth = 3;
			this.splitContainer3.TabIndex = 11;
			this.splitContainer3.SplitterMoved += new SplitterEventHandler(this.splitContainer3_SplitterMoved);
			this.PreviewLyrics.BackColor = SystemColors.Window;
			this.PreviewLyrics.Dock = DockStyle.Fill;
			this.PreviewLyrics.Location = new Point(0, 0);
			this.PreviewLyrics.Name = "PreviewLyrics";
			this.PreviewLyrics.ReadOnly = true;
			this.PreviewLyrics.Size = new Size(63, 72);
			this.PreviewLyrics.TabIndex = 2;
			this.PreviewLyrics.Text = "";
			this.LyricsAlertTextBox.BackColor = SystemColors.Window;
			this.LyricsAlertTextBox.Dock = DockStyle.Fill;
			this.LyricsAlertTextBox.Location = new Point(0, 0);
			this.LyricsAlertTextBox.Name = "LyricsAlertTextBox";
			this.LyricsAlertTextBox.ReadOnly = true;
			this.LyricsAlertTextBox.ScrollBars = RichTextBoxScrollBars.None;
			this.LyricsAlertTextBox.ShowSelectionMargin = true;
			this.LyricsAlertTextBox.Size = new Size(63, 39);
			this.LyricsAlertTextBox.TabIndex = 2;
			this.LyricsAlertTextBox.Text = "";
			this.panelLeft.Dock = DockStyle.Left;
			this.panelLeft.Location = new Point(0, 3);
			this.panelLeft.Name = "panelLeft";
			this.panelLeft.Size = new Size(3, 162);
			this.panelLeft.TabIndex = 9;
			this.panelRight.Dock = DockStyle.Right;
			this.panelRight.Location = new Point(217, 3);
			this.panelRight.Name = "panelRight";
			this.panelRight.Size = new Size(3, 162);
			this.panelRight.TabIndex = 10;
			this.timerLyricsAlert.Interval = 500;
			this.timerLyricsAlert.Tick += new EventHandler(this.timerLyricsAlert_Tick);
			base.AutoScaleDimensions = new SizeF(6f, 13f);
//			base.AutoScaleMode = AutoScaleMode.Font;
			base.ClientSize = new Size(220, 168);
			base.ControlBox = false;
			base.Controls.Add(this.splitContainer1);
			base.Controls.Add(this.panelLeft);
			base.Controls.Add(this.panelRight);
			base.Controls.Add(this.panelBottom);
			base.Controls.Add(this.panelTop);
//			base.FormBorderStyle = FormBorderStyle.None;
			base.MaximizeBox = false;
			base.MinimizeBox = false;
			base.Name = "FrmLyricsScreen";
			base.ShowIcon = false;
			base.ShowInTaskbar = false;
			this.Text = "Lyrics Monitor";
			base.Load += new EventHandler(this.FrmLyricsScreen_Load);
			base.VisibleChanged += new EventHandler(this.FrmLyricsScreen_VisibleChanged);
			base.FormClosing += new FormClosingEventHandler(this.FrmLyricsScreen_FormClosing);
			this.splitContainer1.Panel1.ResumeLayout(false);
			this.splitContainer1.Panel2.ResumeLayout(false);
			this.splitContainer1.ResumeLayout(false);
			this.splitContainer2.Panel1.ResumeLayout(false);
			this.splitContainer2.Panel2.ResumeLayout(false);
			this.splitContainer2.ResumeLayout(false);
			this.splitContainer3.Panel1.ResumeLayout(false);
			this.splitContainer3.Panel2.ResumeLayout(false);
			this.splitContainer3.ResumeLayout(false);
			base.ResumeLayout(false);
		}
	}
}
